﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ece750project
{
    public partial class AddNotes : Form
    {
        public AddNotes()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            abc_app.AddNote_para.Note = textBox1.Text;
            abc_app.AddNote_para.Cancled = false;
            this.Close();
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void AddNotes_Load(object sender, EventArgs e)
        {
            abc_app.AddNote_para.Cancled = true;
            if (abc_app.AddNote_para.Show_mode == true)
            {
                textBox1.Text = abc_app.AddNote_para.Note;
                abc_app.AddNote_para.Show_mode = false;
            }
        }
    }
}
